class Car:
    def __init__(self, mark, color, price, speed):
        self.mark = mark
        self.color = color
        self.price = price
        self.speed = speed
    
    def show(self):
        return {'品牌':self.mark,'颜色':self.color,'时速':self.speed,'价格':self.price}
    
class ManagerCar:
    def __init__(self):
        self.__info = []
    def add(self,car):
        self.__info.append(car)
        
    def showall(self):
        return self.__info
    
audi = Car('奥迪A6','黑色','50',160).show()
dazh = Car('大众斯柯达','白色','40',150).show()
car_info = ManagerCar()
car_info.add(audi)
car_info.add(dazh)
print(car_info.showall())
for i in car_info.showall():
    print(i)

# 做的不错, 不过一般非敏感信息, 不用全使用双下划线的私有属性